package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.ApplicantExam;
import com.bosssoft.boss_exam_db.model.vo.ApplicantExamVO;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ApplicantExamService extends BaseService<ApplicantExam> {

    int insertApplicantExam(String examId, String applicantId);

    List<ApplicantExamVO> queryExamByApplicant(String applicantId);


    PageInfo<ApplicantExamVO> queryByCondition(Integer allowExamFlag, Integer page, Integer limit, String sort, String order);

    int updatebath(List<ApplicantExam> applicantExams,Integer allowExamFlag);

}
